﻿namespace Gmantis.Controls.DataGrid
{
    internal class DataGridViewRowsCollection : DataGridViewCollection<DataGridRow, ViewRow>
    {
        public DataGridViewRowsCollection(DataGridView view)
            : base(view)
        {
        }

        public override ViewRow OnCreatingItem(DataGridRow row)
        {
            return new ViewRow(base.View, row);
        }
    }
}
